from django.shortcuts import render
from users.models import User
# Create your views here.


def Chat(request):
    group = request.GET.get('group')
    user=request.GET.get('user')
    print(user)
    username = User.objects.get(id=group).name
    print(username)
    return render(request,"consumer.html",{"group":group,"user":user,"username":username})
